package com.xf.micro.core.order;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zouxf
 * @date 2023/12/27 10:15
 * @description
 */
public class OrderTest {
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add(new Customer());
        list.add(new Person());
        list.add(new User());

        sortList2(list);
        System.out.println(list);
    }

    static void sortList2(List list){
        ComparatorRule.sort(list);
    }
    static void sortList1(List list){
//        AnnotationAwareOrderComparator.sort(list);
    }
}
